home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Utilities
/
PC-SIG's World of Utilities (PC-SIG) (1994).iso
/
UPDATES
/
DISK2145.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-07-09
|
3KB
|
97 lines
ECHO OFF
CLS
IF %1. == . GOTO AEND
IF %2. == . GOTO AEND
IF NOT EXIST DPIDPI.DPI ECHO Set prompt to floppy....
IF NOT EXIST DPIDPI.DPI GOTO AEND
ECHO ╔═════════════════════════════════════════════════════════════════╗
ECHO ╠Format = INSTALL {target hard drive:} {space} {\subdirectory}╣
ECHO ╚═════════════════════════════════════════════════════════════════╝
ECHO - E.g., INSTALL {space} C: {space} \RACE {enter}
ECHO ╔═════════════════════════════════════════════════════════════════╗
ECHO ║ Please make a backup copy....and use the backup copy to install.║
ECHO ║ Press [Ctrl-C] or [Ctrl-Break] if this is not the backup copy. ║
ECHO ╚═════════════════════════════════════════════════════════════════╝
ECHO - Target hard drive ---- %1%2
ECHO ╔═════════════════════════════════════════════════════════════════╗
ECHO ║ If "DOC" files exists on your diskette, they contain important ║
ECHO ║ infomation that you will want to read. Insert this diskette in ║
ECHO ║ a floppy drive with the printer on and type: PRINT *.DOC ║
ECHO ╚═════════════════════════════════════════════════════════════════╝
PAUSE
ECHO - PRESS [Enter]......
PRINT /T
CLS
SET BUFFERS=28
SET FILES=24
ECHO ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐
ECHO ▐ DO NOT COPY FILES INTO SUB-DIRECTORY ▐
ECHO ▐ Resident software should be turned off! E.g., Sidekick, Networks, Windows ▐
ECHO ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐
ECHO - Please exit Windows to the DOS prompt....
ECHO -
pause
ECHO -
ECHO - Your Environment is as follows.
VER
SET
PAUSE
CLS
ECHO - Checking hard drive %1
CHKDSK %1
ECHO ╔══════════════════════════════════════════════════════════════════════╗
ECHO ║ If any of the following conditions exist it is recommended that you ║
ECHO ║ FORMAT your fixed drive before attempting to load these discs. ║
ECHO ║ 1) Allocation errors 2)Lost........ 3)Less than 2 megabytes avail. ║
ECHO ║ Correcting the above conditions will insure error free performance. ║
ECHO ╚══════════════════════════════════════════════════════════════════════╝
ECHO
PAUSE
CLS
IF %1. == . GOTO AEND
IF EXIST %1\*.* GOTO KG
ECHO - Hard drive %1 does not exist....
GOTO AEND
:KG
IF NOT EXIST %1%2\*.* GOTO KG1
ECHO ╔═══════════════════════════════════════════════════════════════════╗
ECHO ╠If you overwrite the Register...please erase *.RCE, *.BET & *.TTT╣
ECHO ╚═══════════════════════════════════════════════════════════════════╝
ECHO -
ECHO - Answer "Y" to Overwrite?.......
:KG1
IF NOT EXIST %1%2\*.* MD %1%2
IF EXIST %1%2\*.SIM ERASE %1%2\*.SIM
ECHO -
RACEMAIN /e %1%2
COPY RACES.BAT %1%2
%1
CD %2
VOL > RACE.VER
CLS
ECHO - Install complete.....
PAUSE
TRACK
:AEND
ECHO ╔═══════════════════════════════════════════════════════════════╗
ECHO ╠Format = INSTALL {target hard drive:} {space} {\subdirectory}╣
ECHO ╚═══════════════════════════════════════════════════════════════╝
ECHO - E.g., INSTALL {space} C: {space} \RACE {enter}
ECHO Did not install correctly.....
BREAK ON